package com.briup.srms.sms.service;

import java.util.List;

import javax.validation.constraints.NotNull;

import com.briup.srms.sms.bean.Employee;
import com.briup.srms.sms.bean.extend.EmployeeExtend;
import com.briup.srms.sms.vm.DirectionEmployees;
import com.jacky.base.utils.CustomerException;
import com.jacky.base.utils.PageVM;

public interface IEmployeeService {

	PageVM<EmployeeExtend> pageQuery(int page, int pageSize, Long deptId,String realname,String status,Long directionId);
	
	void deleteById(long id) throws CustomerException;
	
	void saveOrUpdate(Employee employee,long roleId) throws CustomerException;
	
	void alter(Employee employee) throws CustomerException;

	Employee findByAccountId(@NotNull long id);

	void leaveBriup(long employeeId);

	List<DirectionEmployees> queryDirectionEmployees(Long directionId,String status);
}
